home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Diamond Collection
/
The Diamond Collection (Software Vault)(Digital Impact).ISO
/
cdr38
/
csd70.zip
/
CS.DOC
< prev
next >
Wrap
Text File
|
1995-04-18
|
16KB
|
353 lines
╔═════════════════════════════════════════════════════════════════════════════╗
║ ║
║ CorpSoft BBS ║
║ (815) 886-9381 - 3 Nodes 28.8 v.34 ║
║ ║
║ C A R D S H A R K S ║
║ D E L U X E ║
║ v7.0 ║
║ ║
║ MULTI-BBS Support ║
║ Supporting PCBoard, Wildcat!, Gap, QBBS, RBBS, Spitfire, ║
║ UltraBBS, Telegard, TriTel, and Remote Access ║
║ ║
║ Copyright 1995 ║
║ by Robert Neal ║
║ 317 Hickory Avenue ║
║ Romeoville, IL 60441 ║
║ ║
╚═════════════════════════════════════════════════════════════════════════════╝
Changes to this documentation file from the previous version are
indicated by "|" in the left hand margin. This should make finding
changes to the documentation much easier and faster for those upgrading
from previous versions.
Card Sharks is released as SHAREWARE. You are granted a limited license to
evaluate the program. Try it out, if you continue to use it you are required
to register the program.
To register the program send $14.95 along with your name and your BBS
name and phone # to:
Robert Neal, 317 Hickory Avenue, Romeoville, IL 60441.
THIS SOFTWARE AND ACCOMPANYING MATERIALS ARE DISTRIBUTED "AS IS" WITHOUT
CHARGE AND WITHOUT WARRANTY, EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE. IN NO EVENT SHALL ANYONE INVOLVED WITH THE CREATION AND
PRODUCTION OF THIS PRODUCT BE LIABLE FOR INDIRECT, SPECIAL, OR CONSEQUENTIAL
DAMAGES, ARISING OUT OF ANY USE THEREOF OR BREACH OF ANY WARRANTY.
Card Sharks is based on the TV show of the same name with some minor
variations. Each time the player is started with $200 to wager. He may
bet any amount he desires up to the amount in his bank. The rules of play
are pretty self explanitory and are displayed in the new player information
screen of the game itself therefore I will not cover them here.
In addition to the initial $200 bank, for each row the player advances
he is given another $200. On the last row the player is given the chance to
bet his winnings from the current game PLUS the winnings he started the
game with in his bankroll. The player must then bet atleast half of his
entire bank on the last row (and last card). Note that the player is only
given $200 each time he starts the game, he is not given his entire bankroll
to play the game, only for the final card.
On the final card, if the user hangs up without placing a wager on the top
card, the program will automatically take half of his bankroll. I've seen
where some users, in an attempt to play it safe, will hang up rather than
play out the last card (especially if it's an 7, 8, etc.). This should keep
the game more honest for everyone.
FEATURES OF CARD SHARKS
- Easy to install and requires no maintenance.
- Ansi color support.
- Terminates cleanly through exit code even on runtime error.
- Automatically creates a top score listing suitable for inclusion
as a text/bulletin file for display within your BBS.
- Detects loss of carrier.
- Operates in local mode (either direct from BBS or from command line).
- Sysop function keys to return to the board, chat mode, user stats,
increase/decrease time, etc.
- Direct support for PCBoard, WildCat!, Gap, QBBS, RBBS, Ultra BBS,
Telegard, TriTel and Remote Access.
- Support for baud rates up to 115,200
- Support for COM0-15. Optional command line for non-standard IRQ's.
- Supports PCBoard environment variables %PCBDRIVE% and %PCBDIR%
- Support Fossil Drivers. A Fossil driver is not required to use the
program.
- Fully Multi-Node compatible.
- Supports fossil based multi-port boards such as for PCBoard /M
version.
- Option to make up days missed
- Option to show who "adopted" the door
FIRST TIME OPERATIONS
If you are setting up a game for the first time you MUST pass the command
parameter "NEW" to the program so that it will create the necessary files,
ie. CS NEW. This is the only time that you need to pass this parameter,
but you may use it to restart a game before the monthly maintenance. Note
that passing the 'NEW' parameter will NOT cause the current high score file
TOPCS to be converted to the TOPOLD file.
The 'NEW' will wipe out all current files, so be sure you want to 'NEW'
the game before using it.
UPGRADING FROM VERSIONS PRIOR TO v6.0
The user file in Card Sharks has been changed in v6.0 to accomodate the
make up game option. You will need to convert the user file to the new
format. While in the Card Sharks directory, type CSCONFIG CONVERT. The
user file will be automatically converted to the new format. The
conversion routine has been made "smart", ie it checks if the user
file has been converted already, but you should not try to run the
conversion after the file has been converted. A back-up, named
CARDSHRK.XXX will be created of your original CARDSHRK.USR file after
the conversion is done. Once you have verified that the conversion was
successful, you can delete the CARDSHRK.XXX file.
AUTOMATIC MAINTENANCE
The program will automatically during the first play of each new month
reset it's user file and top score listing. The previous months top score
listing (TOPCS) will automatically be renamed to TOPOLD. This can then
be included as a text file to display the previous months winners.
You should be aware of this so if you are starting a new game for the
first time towards the end of the month, the game will automatically perform
the maintenace come the first of the month.
CONFIGURING THE PROGRAM
Included is a program called CSCONFIG.EXE. You may use this program to
create and/or edit the configuration files. To use CSCONFIG, type
CSCONFIG CS.CFG. This editor will allow you to enter the appropriate
configuration editor within it's own full screen editor as well as edit
the CS.TXT file. Below is the layout of the CS.CFG file if you wish to
edit it manually.
C:\PCB\PCBOARD.SYS
Corporate Headquarters
Bob
Neal
3
100
NOBANKRUPT
0
6
NA
Line 1 = Full pathname of your door file. Formats supported by this
program are: PCBOARD.SYS, USERS.SYS, DOOR.SYS, USERINFO.DAT,
CALLINFO.BBS, DORINFOx.DEF, SFDOORS.DAT and
GTUSER.BBS, DOOR.SYS, and TRIBBS.SYS. When using
USERINFO.DAT, DOOR.SYS must be in the same
directory as USERINFO.DAT.
Line 2 = BBS name
Line 3 = Sysop First Name
Line 4 = Sysop Last Name
Line 5 = number of times per day that a player may play the game
if you do not wish to limit the number of daily plays enter
a large number (999 for example). I would suggest the a daily
limit be used (3 is a good number to use) so as to prevent
some users from running up the scores (Registered version only.
Non-registered version will default to 3).
Line 6 = Probability of a Joker being added to the deck. This is a new
option in v5.1. Enter 100 if you want 1 joker added (100%
probablility), enter 200 for 2 jokers or you may enter 50 to
have a 50% probability that a joker would be hit. Do not set
this value to high otherwise the users may get tired of
seeing the joker pop up. I recommend a value between 50-100.
Line 7 = You can set the option to either bankrupt the player (the
entire bankroll is lost) or just the turns remaining for that
day if the joker is hit. Enter either BANKRUPT or NOBANKRUPT -
I recommend NOBANKRUPT.
Line 8 = Registration number. Leave as 0 if unregistered.
Line 9 = Maximum number of plays allowed to make up. Users can make up
lost days of play. Put in the number of plays you allow the
user to make up each day. This number reflects the number of
PLAYS you will allow, not the number of DAYS. Enter a 0
if you wish to disable this option (registered version only).
Line10 = Several sysops have had users pay the registration for door
programs they enjoy playing. You can now give credit to anyone
who "adopts" this door, put their name(s) on this line. To
disable, enter NA (registered version only).
Note: This door supports the PCBoard environment variables %PCBDRIVE%
and %PCBDIR%. Non-PCBoard systems may also use these variables by
including the following either in your BBS batch or AUTOEXEC.BAT file:
SET PCBDRIVE=C: <- Drive letter of your BBS files
SET PCBDIR=\BBS <- Path of your BBS files
Then, in your CS.CFG file, on the first line you may put:
%PCBDRIVE%%PCBDIR%\PCBOARD.SYS, %PCBDRIVE%%PCBDIR%\DOOR.SYS, etc.
This allows you to use just one .CFG file for multi-node operation.
EXECUTING PROGRAM
To execute the program, enter the filename followed by the config file
name (ie CS.EXE CS.CFG). If you are running the program from the command
line, you may optionally enter CS.EXE LOCAL. The only problem with this
is the default user name sysop is used instead of the name on your board.
This is good for testing the game before putting it on your system, but
you should once play begins, execute the program locally from your BBS or
consistantly run the game from the command line when you play.
You may also specify a non-standard IRQ. Put the IRQ number after the
.CFG on the command line. For example: CS CS.CFG /5. This example tells
the program to use IRQ 5 instead of the standard IRQ.
You may also use the procedure above and create a variable IRQ so that
you can pass the IRQ setting as: CS CS.CFG /%IRQ%
Some users may have had conflicts when using non-standard IRQ's on
Novell/Netware systems. Novell seems to use the "/" character for
parameter passing. You may not optionally use the "*" character instead
of the "/", for example CS CS.CFG *%IRQ% is valid. Both "*" and "/"
will work.
FOSSIL DRIVER
=============
Card Sharks now includes support for FOSSIL drivers. This means that the
program will now work with Digiboard (for Wildcat IM and PCBoard/M
versions) and other multi-port boards. To activate the Fossil driver
support just include /FD on the command line in your door batch file.
For example: CS CS.CFG /FD
If no Fossil driver is available, Card Sharks will display a message
indicating such and exit cleanly.
This documentation will not go into the mechanics of how you set-up a door
program on your BBS. It is assumed that you have a working knowledge of
how to complete this task.
SYSOP KEYS ACTIVE
F3 - Toggles the printer On/Off. Value is passed to PCBoard and/or
written to DOOR.SYS and USERS.SYS
F4 - Toggles the Page Bell on/off. Value is passed to PCBoard
and/or written to DOOR.SYS and USERS.SYS
F5 - DOS Shell. Allows SysOp to exit to DOS from inside a DOOR.
F7 - Toggles the Caller Alarm On/Off. Value is passed to PCBoard
and/or written to DOOR.SYS and USERS.SYS
F8 - Returns the caller involuntarily to the BBS.
F9 - Toggles the local display On/Off. Value is passed to PCBoard
and/or written to DOOR.SYS and USERS.SYS
F10 - Activates SysOp CHAT mode within the DOOR.
ESC - Deactivates CHAT mode. DOOR is resumed.
UP - Give the caller extra time while in the DOOR.
DN - Subtract time from the caller while in the DOOR.
HOME - HELP key for Status Line options.
ALT-N - SysOp next on toggle. Value passed to PCBoard. (PCBoard only)
ALT-X - PCBoard will exit after current caller logs off. Value is
passed to PCBoard. Not available on non-PCBoard systems.
FILES USED AND CREATED
CS.EXE - The program itself (may want to rename to CS.EXE)
CS.DOC - Documentation for the sysop to run Card Sharks
CS.CFG - Configuration file
CS.TXT - Option text file with comments for winning and losing. This
file will only be read by REGISTERED versions of Card Sharks.
CSHLP - New player welcome screen in ASCII text format
CSGHLP - New player welcome screen in ANSI format.
CSOPENG - Opening screen shown to ANSI callers.
CSOPEN - Opening screen shown to NON-ANSI callers.
The following files will be created by Card Sharks
CARDSHRK.USR - User file of current players
TOPCS - Top scores in ascii format can be used as a bulletin
TOPCSG - Top scores in ansi format can be used as a bulletin
TOP.CS - Top scores data file
TOPOLD - Previous months ascii score listing, created at the
beginning of each new month
TOPOLDG - Previous months ansi score listing, created at the
beginning of each new month
HISCORE.CS - Data file with name and amount of highest earnings ever.
THE GAME ITSELF
The game starts by displaying the Card Sharks opening screen (please do not
modify this or any other part of the game), and will ask the user if he
wants to use ANSI colors. While the BBS door info file passes the variable for
if a user has ANSI on or off, this gives those players a chance who may have
ANSI off for normal BBS useage to use ANSI colors while in the door.
From here, if the player is a new player he is informed of the rules of play
and his account in established. If he is a current player he will be shown
his player stats right away (last time on, bankroll, etc) and then play
will begin. The users stats are updated after each guess (right or wrong)
so as to prevent callers from disconnecting if the hit bankrupt on a bad
guess.
Play continues until the players bank account hits zero or the last card
is played. The top score listing is then updated with the new standings.
CONTACT ME FOR SUPPORT
If you encounter any problems you may contact me at CorpSoft BBS (815)
886-9381.
If you have any suggestions for improvements for this program, please feel
free to let me know.
DISTRIBUTION SITE:
As always you can find the latest version of Card Sharks available for
downloading from CorpSoft BBS.
Calls for support for Card Sharks should be directed only to
CorpSoft BBS.
CorpSoft BBS (815) 886-3233
886-9381
886-9388
All nodes operating with USR Courier v.Everything @ 28.8
You can register with your Visa/MasterCard. Save time and register
online by calling CorpSoft BBS, simply type CHARGE at the main menu
prompt.